﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using DWF.Studio.Models;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.ISerivces
{
    internal interface IAppService : IService
    {
        bool CheckSingleInstance();

        void Close();

        void Restart();

        void Shutdown();

        void FinalHandle();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        IEnumerable<Language> GetLanguages();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        void SetLanguage(int languageId);

        CultureInfo GetCurrentCultureInfo();

        int GetCurrentThreadLanguageId();
    }
}
